Skip to content

feat: support incremental scan between 2 snapshots #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

xxchan
Copy link
Member

@xxchan xxchan commented Jun 26, 2025

Which issue does this PR close?

close #1469

What changes are included in this PR?

Added to_snapshot_id and from_snapshot_id to the table scan API.

Are these changes tested?

unit test

}
}
}

struct Ancestors {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be handy for validation in SnapshotProducer as well, maybe we should move this to a new module util/snapshot.rs

Copy link
Member Author

@xxchan xxchan Jul 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, what kind of validation are you talking about? It seems currently there's no such place where Ancestors can be used

@xxchan xxchan force-pushed the xxchan/naval-heron branch from a3f5068 to d87a9d2 Compare July 22, 2025 06:15
This refactoring addresses the PR comment suggesting that the Ancestors
struct could be reused by SnapshotProducer and should be moved to a
dedicated utilities module for better code organization.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@xxchan xxchan force-pushed the xxchan/naval-heron branch from d87a9d2 to d5fb028 Compare July 22, 2025 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support incremental scan between 2 snapshots
2 participants